enum TT{
    ON = 1,
    OFF,
    LOCK
}

console.log(TT.LOCK);
console.log(TT[3]);
